<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/23
  Time: 17:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>DouPHP 管理中心 - 网站管理员 </title>
    <meta name="Copyright" content="Douco Design." />
    <link href="css/public.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/global.js"></script>
</head>
<body>
<div id="dcWrap">
    <div id="dcHead">
        <div id="head">
            <div class="logo"><a href="index.jsp"><img src="images/dclogo.gif" alt="logo"></a></div>
            <div class="nav">
                <ul>
                    <li class="M"><a href="JavaScript:void(0);" class="topAdd">新建</a>
                        <div class="drop mTopad"><a href="product.php?rec=add">商品</a> <a href="article.php?rec=add">文章</a> <a href="nav.php?rec=add">自定义导航</a> <a href="show.html">首页幻灯</a> <a href="page.php?rec=add">单页面</a> <a href="manager.php?rec=add">管理员</a> <a href="link.html"></a> </div>
                    </li>
                    <li><a href="../index.php" target="_blank">查看站点</a></li>
                    <li><a href="index.php?rec=clear_cache">清除缓存</a></li>
                    <li><a href="http://help.douco.com" target="_blank">帮助</a></li>
                    <li class="noRight"><a href="module.html">DouPHP+</a></li>
                </ul>
                <ul class="navRight">
                    <li class="M noLeft"><a href="JavaScript:void(0);">您好，admin</a>
                        <div class="drop mUser">
                            <a href="manager.php?rec=edit&id=1">编辑我的个人资料</a>
                            <a href="manager.php?rec=cloud_account">设置云账户</a>
                        </div>
                    </li>
                    <li class="noRight"><a href="login.php?rec=logout">退出</a></li>
                </ul>
            </div>
        </div>
    </div>
    <!-- dcHead 结束 --> <div id="dcLeft"><div id="menu">
    <ul class="top">
        <li><a href="index.jsp"><i class="home"></i><em>管理首页</em></a></li>
    </ul>
    <ul>
        <li><a href="password.jsp"><i class="system"></i><em>修改密码</em></a></li>
        <li><a href="list.jsp"><i class="nav"></i><em>快递管理</em></a></li>

    </ul>
</div></div>
    <div id="dcMain">
        <!-- 当前位置 -->
        <div id="urHere">DouPHP 管理中心<b>></b><strong>编辑快递</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3><a href="index.jsp" class="actionBtn">返回首页</a>编辑快递</h3>
        <form action="modify" method="post">
            <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                <tr>
                    <td width="100" align="right">收件人</td>
                    <td>
                        <input type="hidden" name="id" value="${details.id}"/>
                        <input type="text" name="addrName" value="${details.addrName}" size="40" class="inpMain" />
                    </td>
                </tr>
                <tr>
                    <td width="100" align="right">快递公司</td>
                    <td>
                        <select name="companyId">
                            <c:forEach items="${companyList}" var="company">
                                <option value="${company.companyId}"
                                    <c:if test="${company.companyId==details.company.companyId}">
                                        selected
                                    </c:if>
                                >${company.companyName}</option>
                            </c:forEach>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td width="100" align="right">手机号</td>
                    <td>
                        <input type="text" name="phone" value="${details.phone}" size="40" class="inpMain" />
                    </td>
                </tr>
                <tr>
                    <td align="right">收货地址</td>
                    <td>
                        <input type="text" name="address" value="${details.address}" size="40" class="inpMain" />
                    </td>
                </tr>
                <tr>
                    <td align="right">收货日期</td>
                    <td>
                        <input type="date" name="date" value='<fmt:formatDate value="${details.date}" pattern="yyyy-MM-dd"/>' size="40" class="inpMain" />
                    </td>
                </tr>
                <tr>
                    <td align="right">收货状态</td>
                    <td>
                        <input type="radio" name="state" size="40" value="1" <c:if test="${details.state==1}">checked</c:if> /> 已签收
                        <input type="radio" name="state" size="40" value="0" <c:if test="${details.state==0}">checked</c:if> /> 未签收
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <input type="submit" name="submit" class="btn" value="提交" />
                    </td>
                </tr>
            </table>
        </form>
    </div>
    </div>
    <div class="clear"></div>
    <div id="dcFooter">
        <div id="footer">
            <div class="line"></div>
            <ul>
                版权所有 © 2013-2015 漳州豆壳网络科技有限公司，并保留所有权利。
            </ul>
        </div>
    </div><!-- dcFooter 结束 -->
    <div class="clear"></div> </div>
</body>
</html>
